package com.situ.bean;

import java.math.BigDecimal;

public class Orderinfo {
    private int orderid;
    private int productid;
    private int number;
    private BigDecimal price;
    private String productname;
    private String imgurl;

    @Override
    public String toString() {
        return "Orderinfo{" +
                "orderid=" + orderid +
                ", productid=" + productid +
                ", number=" + number +
                ", price=" + price +
                ", productname='" + productname + '\'' +
                ", imgurl='" + imgurl + '\'' +

                '}';
    }



    public int getProductid() {
        return productid;
    }

    public void setProductid(int productid) {
        this.productid = productid;
    }

    public int getOrderid() {
        return orderid;
    }

    public void setOrderid(int orderid) {
        this.orderid = orderid;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getImgurl() {
        return imgurl;
    }

    public void setImgurl(String imgurl) {
        this.imgurl = imgurl;
    }

    public String getProductname() {
        return productname;
    }

    public void setProductname(String productname) {
        this.productname = productname;
    }

    public Orderinfo(int productid, BigDecimal price, String productname, String imgurl) {
        this.productid = productid;
        this.price = price;
        this.productname = productname;
        this.imgurl = imgurl;

    }

    public Orderinfo() {
    }
}
